$test-color: var(--test-color);

/* 标准 */
$bg-color: #f3f5f9; // 窗口背景色

$color-primary: #1a66ff;
$color-primary-disabled: #bad1ff;
$color2-primary: #edf3ff;

$color-warning: #ff661a;
$color-warning-disabled: #ffd1ba;
$color2-warning: #ffe0d1;

$color-success: #3dc637;
$color2-success: #d8f4d7;

$color-danger: #fb1732;
$color2-danger: #ffdae3;

$color-w1: #212121;
$color-w2: #56595b;
$color-w3: #81878e;
$color-w4: #aab3bd;
$color-w5: #bec8ce;
$color-link: #518def;
$color-line: #e6e7eb;

// 10
@mixin font-10-14 {
    font-size: 20rpx;
    line-height: 28rpx;
}
@mixin font-10-14-bold {
    font-size: 20rpx;
    line-height: 28rpx;
    font-weight: bold;
}
// 12
@mixin font-12-16 {
    font-size: 24rpx;
    line-height: 32rpx;
}
@mixin font-12-16-bold {
    font-size: 24rpx;
    line-height: 32rpx;
    font-weight: bold;
}
// 14
@mixin font-14-20 {
    font-size: 28rpx;
    line-height: 40rpx;
}
@mixin font-14-20-bold {
    font-size: 28rpx;
    line-height: 40rpx;
    font-weight: bold;
}
@mixin font-14-24-bold {
    font-size: 28rpx;
    line-height: 48rpx;
    font-weight: bold;
}
@mixin font-14-26 {
    font-size: 28rpx;
    line-height: 52rpx;
}
// 15
@mixin font-15-22 {
    font-size: 30rpx;
    line-height: 44rpx;
}
// 16
@mixin font-16-22 {
    font-size: 32rpx;
    line-height: 44rpx;
}
@mixin font-16-22-bold {
    font-size: 32rpx;
    line-height: 44rpx;
    font-weight: bold;
}
@mixin font-16-28 {
    font-size: 32rpx;
    line-height: 56rpx;
}
// 18
@mixin font-18-25 {
    font-size: 36rpx;
    line-height: 50rpx;
}
@mixin font-18-25-bold {
    font-size: 36rpx;
    line-height: 50rpx;
    font-weight: bold;
}
// 20
@mixin font-20-24 {
    font-size: 40rpx;
    line-height: 48rpx;
}
@mixin font-20-28-bold {
    font-size: 40rpx;
    line-height: 56rpx;
    font-weight: bold;
}
// 24
@mixin font-24-29 {
    font-size: 48rpx;
    line-height: 58rpx;
}
@mixin font-24-34-bold {
    font-size: 48rpx;
    line-height: 68rpx;
    font-weight: bold;
}

.hairline,
.hairline--bottom,
.hairline--left,
.hairline--right,
.hairline--top {
    position: relative;
}

.hairline--bottom:after,
.hairline--left:after,
.hairline--right:after,
.hairline--top:after,
.hairline:after {
    content: ' ';
    position: absolute;
    -webkit-transform-origin: center;
    transform-origin: center;
    background-color: $color-line;
}

.hairline--top:after {
    width: 100%;
    height: 1px;
    top: 0;
    left: 0;
    -webkit-transform: scale(1, 0.5);
    transform: scale(1, 0.5);
}
.hairline--right:after {
    height: 100%;
    width: 1px;
    top: 0;
    right: 0;
    -webkit-transform: scale(0.5, 1);
    transform: scale(0.5, 1);
}
.hairline--bottom:after {
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    -webkit-transform: scale(1, 0.5);
    transform: scale(1, 0.5);
}
.hairline--left:after {
    height: 100%;
    width: 1px;
    top: 0;
    left: 0;
    -webkit-transform: scale(0.5, 1);
    transform: scale(0.5, 1);
}

/deep/ .input-placeholder {
    color: $color-w4;
}

.flex {
    display: flex;
}
.align-center {
    align-items: center;
}
.space-between {
    justify-content: space-between;
}
